package com.wc.service;

import com.wc.domain.Book;

import java.io.IOException;
import java.util.List;

public interface BookService {
    /**
     * 查询出所有的书籍
     * @return
     */
    List<Book> getAllBooks();

    List<Book> getBookByCondition(String type, String qurey) throws IOException;
}
